package com.jzr.pda.db1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzr.pda.db1.model.TUser;
import com.jzr.pda.db1.vo.DeptCodeVo;
import com.jzr.pda.db1.vo.MyUserDetailsVo;
import com.jzr.pda.db1.vo.UserInfoVo;

import java.util.List;

public interface TUserService extends IService<TUser> {
    List<String> getRoleCodesByUserCode(String userCode);

    MyUserDetailsVo getUserDetailByUserCode(String userCode);

    TUser findByUserName(String userName);

    TUser findByUserCode(String userCode);

    Integer getIdByUserCode(String userCode);

    String getPasswordByUserCode(String userCode);

    List<DeptCodeVo> getDeptList(String userCode);

    UserInfoVo getUserInfoVo(String userCode);

}
